package com.tvein.web.view
{
	//flash
	import flash.events.MouseEvent;
	//pureMVC
	import org.puremvc.as3.multicore.patterns.mediator.Mediator;
	import org.puremvc.as3.multicore.interfaces.IMediator;
	import org.puremvc.as3.multicore.interfaces.INotification;
	//custom
	import com.tvein.web.common.CommonConstants;
	import com.tvein.Web;
//
    public class ApplicationMediator extends Mediator implements IMediator
    {
		public static const NAME:String = 'ApplicationMediator';
		
		public function ApplicationMediator(viewComponent:Web)
		{
			super(NAME, viewComponent);
		}
		
		public function get web() : Web
		{
			return viewComponent as Web;
		}
		
		override public function onRegister() : void
        {
			web.stage.addEventListener(MouseEvent.RIGHT_CLICK, _onRightClick);
		}
		
		private function _onRightClick(evt:MouseEvent):void
		{
			
		}
    }
}